//
//  AppTabView.swift
//  Co2DappHackson
//
//  Created by zhao on 2023/11/9.
//
import SwiftUI

struct MyTabView: View {
    var body: some View {
        TabView {
            ContentView()
                .tabItem {
                    Image(systemName: "house")
                    Text("Home")
                }
                .tag(0)
            CoinsView()
                .tabItem {
                    Image(systemName: "person.fill")
                    Text("Points")
                }
                .tag(1)
            MyView()
                .tabItem {
                    Image(systemName: "gear")
                    Text("My")
                }
                .tag(2)
        }
    }
}
